import request from "../request.js";

// 详情接口
export function shopdetail(data) {
  return request({
    url: "/api/goods/detail",
    method: "post",
    data
  });
}
//收藏接口
export function star(data) {
  return request({
    url: "/api/goods/star",
    method: "post",
    data
  });
}
// 取消收藏接口
export function cancel_star(data) {
  return request({
    url: "/api/goods/cancel_star",
    method: "post",
    data
  });
}
